package com.ynsj.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@ApiModel("会员登录成功返回对象")
@AllArgsConstructor
@NoArgsConstructor
public class LoginUser {

    @ApiModelProperty("会员名称")
    private String username;

    @ApiModelProperty("token过期时间")
    private Long expire;

    @ApiModelProperty("会员的唯一token")
    private String access_token;

    @ApiModelProperty("会员的refresh_token")
    private String refresh_token;
}
